﻿using Gavel.Common.Utilities.Const;

namespace Gavel.ModLink.Model;

/// <summary>
/// 报文帧抽象基类
/// </summary>
public abstract class BaseFrame
{
    /// <summary>
    /// 端类型
    /// </summary>
    public Endian Endian { get; set; }
    
    /// <summary>
    /// 协议类型
    /// </summary>
    public ProtocolType Protocol { get; set; }
    
    /// <summary>
    /// 功能码
    /// </summary>
    public FunctionType Function { get; set; }
}